package com.zsy.service;

import com.zsy.pojo.Category;
import com.zsy.pojo.Page;

import java.util.List;

public interface CategoryService {

    void save(Category category);

    Page<Category> page(Integer page, Integer pageSize);

    void delete(long id);

    void update(Category category);

    List<Category> findByType(Integer type);

}
